<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/tw-sched.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">tw-sched.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="ross_8h_source.html">ross.h</a>&gt;</code><br/>
</div>
<p><a href="tw-sched_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7a172f12578f34ccf37ace58ca06eac6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6">reset_bitfields</a> (<a class="el" href="structtw__event.html">tw_event</a> *revent)</td></tr>
<tr class="memdesc:a7a172f12578f34ccf37ace58ca06eac6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the event bitfield prior to entering the event handler post-reverse - reset the bitfield so that a potential re-running of the event is presented with a consistent bitfield state NOTE: the size checks are to better support the experimental reverse computation compiler, which can use a larger bitfield. Courtesy of John P Jenkins.  <a href="#a7a172f12578f34ccf37ace58ca06eac6">More...</a><br/></td></tr>
<tr class="separator:a7a172f12578f34ccf37ace58ca06eac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bb0520414480154343b267735636433"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#a0bb0520414480154343b267735636433">tw_sched_event_q</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:a0bb0520414480154343b267735636433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0eb975865f0cde7f2c2e3129bd18d7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#abe0eb975865f0cde7f2c2e3129bd18d7">tw_sched_cancel_q</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:abe0eb975865f0cde7f2c2e3129bd18d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad27b3474d878cedfe1a1f993093d8715"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715">tw_sched_batch</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:ad27b3474d878cedfe1a1f993093d8715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1586b72acaa34a4ef8cc6aadabe9711e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e">tw_sched_batch_realtime</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:a1586b72acaa34a4ef8cc6aadabe9711e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7357a99fcf58867f153cb7ab920b400"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#ae7357a99fcf58867f153cb7ab920b400">tw_sched_init</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:ae7357a99fcf58867f153cb7ab920b400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae19668282cb4aab245e2382eea8f1967"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#ae19668282cb4aab245e2382eea8f1967">tw_scheduler_sequential</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:ae19668282cb4aab245e2382eea8f1967"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3e02a0e976921bd18a11b8b6a00c110"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110">tw_scheduler_conservative</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:ab3e02a0e976921bd18a11b8b6a00c110"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ebf9585a3de4d61c5fc050c7600fcd8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8">tw_scheduler_optimistic</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:a1ebf9585a3de4d61c5fc050c7600fcd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accfa49d85bd68f2c53d4a08cf64ace88"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88">tw_scheduler_optimistic_realtime</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:accfa49d85bd68f2c53d4a08cf64ace88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad49988d8dcde406fac7f4a2e11eac17f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f">tw_scheduler_optimistic_debug</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *me)</td></tr>
<tr class="separator:ad49988d8dcde406fac7f4a2e11eac17f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a5c11d3a2f7e286ede48944061694ba42"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-sched_8c.html#a5c11d3a2f7e286ede48944061694ba42">g_tw_rollback_time</a> = 0.000000001</td></tr>
<tr class="separator:a5c11d3a2f7e286ede48944061694ba42"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a7a172f12578f34ccf37ace58ca06eac6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void reset_bitfields </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__event.html">tw_event</a> *&#160;</td>
          <td class="paramname"><em>revent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00011">11</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00274">tw_event::cv</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00139">tw_sched_batch()</a>, <a class="el" href="tw-sched_8c_source.html#l00273">tw_sched_batch_realtime()</a>, <a class="el" href="tw-sched_8c_source.html#l00514">tw_scheduler_conservative()</a>, <a class="el" href="tw-sched_8c_source.html#l00733">tw_scheduler_optimistic_debug()</a>, and <a class="el" href="tw-sched_8c_source.html#l00445">tw_scheduler_sequential()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a7a172f12578f34ccf37ace58ca06eac6_icgraph.png" border="0" usemap="#tw-sched_8c_a7a172f12578f34ccf37ace58ca06eac6_icgraph" alt=""/></div>
<map name="tw-sched_8c_a7a172f12578f34ccf37ace58ca06eac6_icgraph" id="tw-sched_8c_a7a172f12578f34ccf37ace58ca06eac6_icgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="184,12,301,39"/><area shape="rect" id="node6" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="157,68,328,95"/><area shape="rect" id="node8" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="377,123,557,149"/><area shape="rect" id="node9" href="tw-sched_8c.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="385,174,548,215"/><area shape="rect" id="node10" href="tw-sched_8c.html#ae19668282cb4aab245e2382eea8f1967" title="tw_scheduler_sequential" alt="" coords="160,236,325,263"/><area shape="rect" id="node3" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="385,5,548,32"/><area shape="rect" id="node4" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="605,123,667,149"/><area shape="rect" id="node5" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="715,123,765,149"/><area shape="rect" id="node7" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="385,57,548,98"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad27b3474d878cedfe1a1f993093d8715"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void tw_sched_batch </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00139">139</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="st-instrumentation_8h_source.html#l00235">ALL_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00399">tw_pe::cev_abort</a>, <a class="el" href="ross-types_8h_source.html#l00278">tw_event::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00319">tw_lp::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00385">tw_pe::cur_event</a>, <a class="el" href="ross-types_8h_source.html#l00315">tw_lp::cur_state</a>, <a class="el" href="ross-types_8h_source.html#l00274">tw_event::cv</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-types_8h_source.html#l00090">tw_lptype::event</a>, <a class="el" href="ross-types_8h_source.html#l00383">tw_pe::free_q</a>, <a class="el" href="st-instrumentation_8h_source.html#l00173">FULL_TRACE</a>, <a class="el" href="st-instrumentation_8c_source.html#l00012">g_st_engine_stats</a>, <a class="el" href="st-event-trace_8c_source.html#l00003">g_st_ev_trace</a>, <a class="el" href="st-instrumentation_8c_source.html#l00011">g_st_model_stats</a>, <a class="el" href="st-instrumentation_8c_source.html#l00018">g_st_rt_interval</a>, <a class="el" href="st-instrumentation_8c_source.html#l00019">g_st_rt_samp_start_cycles</a>, <a class="el" href="st-instrumentation_8c_source.html#l00017">g_st_rt_sampling</a>, <a class="el" href="ross-global_8c_source.html#l00098">g_tw_clock_rate</a>, <a class="el" href="ross-global_8c_source.html#l00080">g_tw_gvt_threshold</a>, <a class="el" href="ross-global_8c_source.html#l00062">g_tw_mblock</a>, <a class="el" href="ross-types_8h_source.html#l00403">tw_pe::GVT</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00366">tw_kp::kp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00360">tw_kp::last_time</a>, <a class="el" href="ross-types_8h_source.html#l00323">tw_lp::lp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00268">tw_event::owner</a>, <a class="el" href="ross-types_8h_source.html#l00359">tw_kp::pevent_q</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00282">tw_event::recv_ts</a>, <a class="el" href="tw-sched_8c_source.html#l00011">reset_bitfields()</a>, <a class="el" href="ross-types_8h_source.html#l00091">tw_lptype::revent</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00005">ROSS_MAX</a>, <a class="el" href="st-instrumentation_8h_source.html#l00042">RT_COL</a>, <a class="el" href="st-instrumentation_8h_source.html#l00233">RT_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00141">tw_statistics::s_event_abort</a>, <a class="el" href="ross-types_8h_source.html#l00142">tw_statistics::s_event_process</a>, <a class="el" href="ross-types_8h_source.html#l00112">tw_statistics::s_nevent_abort</a>, <a class="el" href="st-instrumentation_8h_source.html#l00140">st_kp_stats::s_nevent_abort</a>, <a class="el" href="st-instrumentation_8h_source.html#l00156">st_lp_stats::s_nevent_abort</a>, <a class="el" href="st-instrumentation_8h_source.html#l00139">st_kp_stats::s_nevent_processed</a>, <a class="el" href="st-instrumentation_8h_source.html#l00155">st_lp_stats::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00361">tw_kp::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00130">tw_statistics::s_pe_event_ties</a>, <a class="el" href="ross-types_8h_source.html#l00143">tw_statistics::s_pq</a>, <a class="el" href="ross-types_8h_source.html#l00166">tw_eventq::size</a>, <a class="el" href="st-sim-engine_8c_source.html#l00010">st_collect_engine_data()</a>, <a class="el" href="st-event-trace_8c_source.html#l00009">st_collect_event_data()</a>, <a class="el" href="st-model-data_8c_source.html#l00045">st_collect_model_data()</a>, <a class="el" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">tw_event::state</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="ross-types_8h_source.html#l00331">tw_lp::suspend_flag</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data()</a>, <a class="el" href="tw-event_8c_source.html#l00181">tw_event_rollback()</a>, <a class="el" href="tw-eventq_8h_source.html#l00280">tw_eventq_peek()</a>, <a class="el" href="tw-eventq_8h_source.html#l00320">tw_eventq_unshift()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00039">tw_gvt_force_update()</a>, <a class="el" href="ross-types_8h_source.html#l00216">TW_kp_pevent_q</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="splay_8c_source.html#l00245">tw_pq_dequeue()</a>, <a class="el" href="splay_8c_source.html#l00195">tw_pq_enqueue()</a>, <a class="el" href="splay_8c_source.html#l00345">tw_pq_minimum()</a>, <a class="el" href="ross_8h_source.html#l00154">TW_STIME_CMP</a>, and <a class="el" href="ross-types_8h_source.html#l00316">tw_lp::type</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00634">tw_scheduler_optimistic()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_cgraph.png" border="0" usemap="#tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_cgraph" alt=""/></div>
<map name="tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_cgraph" id="tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_cgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="194,189,297,216"/><area shape="rect" id="node3" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a" title="st_collect_engine_data" alt="" coords="968,290,1123,317"/><area shape="rect" id="node7" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1629,797,1699,824"/><area shape="rect" id="node13" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="1209,493,1316,520"/><area shape="rect" id="node19" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="171,468,320,494"/><area shape="rect" id="node20" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="403,493,509,520"/><area shape="rect" id="node21" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="969,240,1121,266"/><area shape="rect" id="node22" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="182,670,309,697"/><area shape="rect" id="node38" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="1206,1253,1319,1280"/><area shape="rect" id="node42" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="1204,1304,1321,1330"/><area shape="rect" id="node45" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="780,1152,908,1178"/><area shape="rect" id="node47" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="787,1354,901,1381"/><area shape="rect" id="node49" href="mpi__allreduce_8c.html#a483098cf3c7db0378e825db007a3a300" title="tw_gvt_force_update" alt="" coords="174,1557,317,1584"/><area shape="rect" id="node50" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="187,1608,304,1634"/><area shape="rect" id="node4" href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c" title="st_collect_engine_data_kps" alt="" coords="1171,290,1354,317"/><area shape="rect" id="node9" href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653" title="st_collect_engine_data_lps" alt="" coords="1173,392,1352,418"/><area shape="rect" id="node10" href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03" title="st_collect_engine_data_pes" alt="" coords="1171,189,1354,216"/><area shape="rect" id="node14" href="ross-extern_8h.html#a51b6f7e6bcb3a2d739fe932e95554aeb" title="tw_get_stats" alt="" coords="1214,88,1311,114"/><area shape="rect" id="node15" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="1455,138,1529,165"/><area shape="rect" id="node18" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="1457,493,1527,520"/><area shape="rect" id="node5" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5" title="st_buffer_push" alt="" coords="1438,290,1546,317"/><area shape="rect" id="node6" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="1631,138,1697,165"/><area shape="rect" id="node8" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1747,797,1845,824"/><area shape="rect" id="node11" href="mpi__allreduce_8c.html#ab5b7bed8b49012ab92a14632cba26847" title="st_get_allreduce_count" alt="" coords="1414,240,1570,266"/><area shape="rect" id="node12" href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7" title="tw_pq_get_size" alt="" coords="1435,189,1549,216"/><area shape="rect" id="node16" href="ross-extern_8h.html#a47c205fb13e816aa4a0252ab2e7cd094" title="tw_wall_sub" alt="" coords="1445,37,1539,64"/><area shape="rect" id="node17" href="ross-extern_8h.html#ae0f8e95d53bcbe6803081588d3058146" title="tw_wall_to_double" alt="" coords="1427,88,1557,114"/><area shape="rect" id="node23" href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6" title="buddy_free" alt="" coords="413,594,499,621"/><area shape="rect" id="node26" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="407,802,505,829"/><area shape="rect" id="node48" href="ross-extern_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e" title="tw_free_output_messages" alt="" coords="369,853,543,880"/><area shape="rect" id="node24" href="buddy_8c.html#a79eb8604ccdede86583f1faccec9dfb9" title="buddy_try_merge" alt="" coords="595,594,717,621"/><area shape="rect" id="node25" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="620,544,692,570"/><area shape="rect" id="node27" href="io-mpi_8c.html#a18038e8927326d19a30e302918ee9780" title="io_event_cancel" alt="" coords="598,1025,714,1052"/><area shape="rect" id="node31" href="tw-event_8c.html#adc74ca3ef069799b8f7bc8a0130a00aa" title="local_cancel" alt="" coords="609,696,703,722"/><area shape="rect" id="node32" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="1211,898,1315,925"/><area shape="rect" id="node33" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="1199,696,1327,722"/><area shape="rect" id="node34" href="network-mpi_8c.html#a7032d3d1b4b869e4f1669248c7cf6447" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="603,860,709,886"/><area shape="rect" id="node46" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="593,1405,719,1432"/><area shape="rect" id="node28" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="768,1025,920,1052"/><area shape="rect" id="node30" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="1204,1000,1321,1026"/><area shape="rect" id="node29" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="1430,1025,1554,1052"/><area shape="rect" id="node35" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="787,822,901,849"/><area shape="rect" id="node36" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="1003,746,1088,773"/><area shape="rect" id="node37" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="1003,797,1088,824"/><area shape="rect" id="node41" href="network-mpi_8c.html#a4e1e1bd17bf05f66af5628d37dd9af9d" title="If there are any openings in the posted_sends queue, start sends for events in the outgoing queue..." alt="" coords="1001,848,1089,874"/><area shape="rect" id="node43" href="network-mpi_8c.html#a08594cce713aee586b50774147ce63df" title="Determines how to handle the buffer of event whose send operation just finished. " alt="" coords="1001,1000,1089,1026"/><area shape="rect" id="node44" href="network-mpi_8c.html#a3a991bb1d1d24fbb8695947451f3f765" title="Calls MPI_Testsome on the provided queue, to check for finished operations. " alt="" coords="1016,645,1075,672"/><area shape="rect" id="node39" href="splay_8c.html#a78410f728e5484187a8f69d74660e2e3" title="splay" alt="" coords="1465,1354,1519,1381"/><area shape="rect" id="node40" href="splay_8c.html#abe4300522e9cd5f9a0ee5b4aefee026c" title="tw_pq_compare_less_than" alt="" coords="1403,1253,1581,1280"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_icgraph.png" border="0" usemap="#tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_icgraph" alt=""/></div>
<map name="tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_icgraph" id="tw-sched_8c_ad27b3474d878cedfe1a1f993093d8715_icgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="171,5,333,32"/><area shape="rect" id="node3" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="381,5,443,32"/><area shape="rect" id="node4" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="491,5,541,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1586b72acaa34a4ef8cc6aadabe9711e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void tw_sched_batch_realtime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00273">273</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="st-instrumentation_8h_source.html#l00235">ALL_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00399">tw_pe::cev_abort</a>, <a class="el" href="ross-types_8h_source.html#l00278">tw_event::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00319">tw_lp::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00385">tw_pe::cur_event</a>, <a class="el" href="ross-types_8h_source.html#l00315">tw_lp::cur_state</a>, <a class="el" href="ross-types_8h_source.html#l00274">tw_event::cv</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-types_8h_source.html#l00090">tw_lptype::event</a>, <a class="el" href="ross-types_8h_source.html#l00383">tw_pe::free_q</a>, <a class="el" href="st-instrumentation_8h_source.html#l00173">FULL_TRACE</a>, <a class="el" href="st-instrumentation_8c_source.html#l00012">g_st_engine_stats</a>, <a class="el" href="st-event-trace_8c_source.html#l00003">g_st_ev_trace</a>, <a class="el" href="st-instrumentation_8c_source.html#l00011">g_st_model_stats</a>, <a class="el" href="st-instrumentation_8c_source.html#l00018">g_st_rt_interval</a>, <a class="el" href="st-instrumentation_8c_source.html#l00019">g_st_rt_samp_start_cycles</a>, <a class="el" href="st-instrumentation_8c_source.html#l00017">g_st_rt_sampling</a>, <a class="el" href="ross-global_8c_source.html#l00098">g_tw_clock_rate</a>, <a class="el" href="ross-global_8c_source.html#l00066">g_tw_gvt_interval_start_cycles</a>, <a class="el" href="ross-global_8c_source.html#l00065">g_tw_gvt_realtime_interval</a>, <a class="el" href="ross-global_8c_source.html#l00080">g_tw_gvt_threshold</a>, <a class="el" href="ross-global_8c_source.html#l00062">g_tw_mblock</a>, <a class="el" href="ross-types_8h_source.html#l00403">tw_pe::GVT</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00366">tw_kp::kp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00360">tw_kp::last_time</a>, <a class="el" href="ross-types_8h_source.html#l00323">tw_lp::lp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00268">tw_event::owner</a>, <a class="el" href="ross-types_8h_source.html#l00359">tw_kp::pevent_q</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00282">tw_event::recv_ts</a>, <a class="el" href="tw-sched_8c_source.html#l00011">reset_bitfields()</a>, <a class="el" href="ross-types_8h_source.html#l00091">tw_lptype::revent</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00005">ROSS_MAX</a>, <a class="el" href="st-instrumentation_8h_source.html#l00042">RT_COL</a>, <a class="el" href="st-instrumentation_8h_source.html#l00233">RT_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00141">tw_statistics::s_event_abort</a>, <a class="el" href="ross-types_8h_source.html#l00142">tw_statistics::s_event_process</a>, <a class="el" href="ross-types_8h_source.html#l00112">tw_statistics::s_nevent_abort</a>, <a class="el" href="st-instrumentation_8h_source.html#l00140">st_kp_stats::s_nevent_abort</a>, <a class="el" href="st-instrumentation_8h_source.html#l00156">st_lp_stats::s_nevent_abort</a>, <a class="el" href="st-instrumentation_8h_source.html#l00139">st_kp_stats::s_nevent_processed</a>, <a class="el" href="st-instrumentation_8h_source.html#l00155">st_lp_stats::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00361">tw_kp::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00130">tw_statistics::s_pe_event_ties</a>, <a class="el" href="ross-types_8h_source.html#l00143">tw_statistics::s_pq</a>, <a class="el" href="ross-types_8h_source.html#l00166">tw_eventq::size</a>, <a class="el" href="st-sim-engine_8c_source.html#l00010">st_collect_engine_data()</a>, <a class="el" href="st-event-trace_8c_source.html#l00009">st_collect_event_data()</a>, <a class="el" href="st-model-data_8c_source.html#l00045">st_collect_model_data()</a>, <a class="el" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">tw_event::state</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="ross-types_8h_source.html#l00331">tw_lp::suspend_flag</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data()</a>, <a class="el" href="tw-event_8c_source.html#l00181">tw_event_rollback()</a>, <a class="el" href="tw-eventq_8h_source.html#l00280">tw_eventq_peek()</a>, <a class="el" href="tw-eventq_8h_source.html#l00320">tw_eventq_unshift()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00046">tw_gvt_force_update_realtime()</a>, <a class="el" href="ross-types_8h_source.html#l00216">TW_kp_pevent_q</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="splay_8c_source.html#l00245">tw_pq_dequeue()</a>, <a class="el" href="splay_8c_source.html#l00195">tw_pq_enqueue()</a>, <a class="el" href="splay_8c_source.html#l00345">tw_pq_minimum()</a>, <a class="el" href="ross_8h_source.html#l00154">TW_STIME_CMP</a>, and <a class="el" href="ross-types_8h_source.html#l00316">tw_lp::type</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00680">tw_scheduler_optimistic_realtime()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_cgraph.png" border="0" usemap="#tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_cgraph" alt=""/></div>
<map name="tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_cgraph" id="tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_cgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="247,189,350,216"/><area shape="rect" id="node3" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a" title="st_collect_engine_data" alt="" coords="1021,290,1176,317"/><area shape="rect" id="node7" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1683,797,1752,824"/><area shape="rect" id="node13" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="1263,493,1369,520"/><area shape="rect" id="node19" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="224,468,373,494"/><area shape="rect" id="node20" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="456,493,563,520"/><area shape="rect" id="node21" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="1023,240,1175,266"/><area shape="rect" id="node22" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="235,698,362,725"/><area shape="rect" id="node38" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="1259,1253,1373,1280"/><area shape="rect" id="node42" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="1257,1304,1375,1330"/><area shape="rect" id="node45" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="833,1152,961,1178"/><area shape="rect" id="node47" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="841,1354,954,1381"/><area shape="rect" id="node49" href="mpi__allreduce_8c.html#a805cc76b3ba7583d9bb9186afc73e2ba" title="tw_gvt_force_update\l_realtime" alt="" coords="227,1558,370,1599"/><area shape="rect" id="node50" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="240,1624,357,1650"/><area shape="rect" id="node4" href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c" title="st_collect_engine_data_kps" alt="" coords="1225,290,1407,317"/><area shape="rect" id="node9" href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653" title="st_collect_engine_data_lps" alt="" coords="1227,392,1405,418"/><area shape="rect" id="node10" href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03" title="st_collect_engine_data_pes" alt="" coords="1225,189,1407,216"/><area shape="rect" id="node14" href="ross-extern_8h.html#a51b6f7e6bcb3a2d739fe932e95554aeb" title="tw_get_stats" alt="" coords="1267,88,1365,114"/><area shape="rect" id="node15" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="1508,138,1583,165"/><area shape="rect" id="node18" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="1510,493,1581,520"/><area shape="rect" id="node5" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5" title="st_buffer_push" alt="" coords="1491,290,1599,317"/><area shape="rect" id="node6" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="1684,138,1751,165"/><area shape="rect" id="node8" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1801,797,1898,824"/><area shape="rect" id="node11" href="mpi__allreduce_8c.html#ab5b7bed8b49012ab92a14632cba26847" title="st_get_allreduce_count" alt="" coords="1467,240,1623,266"/><area shape="rect" id="node12" href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7" title="tw_pq_get_size" alt="" coords="1489,189,1602,216"/><area shape="rect" id="node16" href="ross-extern_8h.html#a47c205fb13e816aa4a0252ab2e7cd094" title="tw_wall_sub" alt="" coords="1498,37,1593,64"/><area shape="rect" id="node17" href="ross-extern_8h.html#ae0f8e95d53bcbe6803081588d3058146" title="tw_wall_to_double" alt="" coords="1481,88,1610,114"/><area shape="rect" id="node23" href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6" title="buddy_free" alt="" coords="466,594,553,621"/><area shape="rect" id="node26" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="460,802,559,829"/><area shape="rect" id="node48" href="ross-extern_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e" title="tw_free_output_messages" alt="" coords="422,853,597,880"/><area shape="rect" id="node24" href="buddy_8c.html#a79eb8604ccdede86583f1faccec9dfb9" title="buddy_try_merge" alt="" coords="648,594,771,621"/><area shape="rect" id="node25" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="673,544,745,570"/><area shape="rect" id="node27" href="io-mpi_8c.html#a18038e8927326d19a30e302918ee9780" title="io_event_cancel" alt="" coords="651,1025,767,1052"/><area shape="rect" id="node31" href="tw-event_8c.html#adc74ca3ef069799b8f7bc8a0130a00aa" title="local_cancel" alt="" coords="662,696,757,722"/><area shape="rect" id="node32" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="1264,898,1368,925"/><area shape="rect" id="node33" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="1252,696,1380,722"/><area shape="rect" id="node34" href="network-mpi_8c.html#a7032d3d1b4b869e4f1669248c7cf6447" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="656,860,763,886"/><area shape="rect" id="node46" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="646,1405,773,1432"/><area shape="rect" id="node28" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="821,1025,973,1052"/><area shape="rect" id="node30" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="1257,1000,1375,1026"/><area shape="rect" id="node29" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="1483,1025,1607,1052"/><area shape="rect" id="node35" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="841,822,954,849"/><area shape="rect" id="node36" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="1056,746,1141,773"/><area shape="rect" id="node37" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="1056,797,1141,824"/><area shape="rect" id="node41" href="network-mpi_8c.html#a4e1e1bd17bf05f66af5628d37dd9af9d" title="If there are any openings in the posted_sends queue, start sends for events in the outgoing queue..." alt="" coords="1055,848,1143,874"/><area shape="rect" id="node43" href="network-mpi_8c.html#a08594cce713aee586b50774147ce63df" title="Determines how to handle the buffer of event whose send operation just finished. " alt="" coords="1055,1000,1143,1026"/><area shape="rect" id="node44" href="network-mpi_8c.html#a3a991bb1d1d24fbb8695947451f3f765" title="Calls MPI_Testsome on the provided queue, to check for finished operations. " alt="" coords="1069,645,1128,672"/><area shape="rect" id="node39" href="splay_8c.html#a78410f728e5484187a8f69d74660e2e3" title="splay" alt="" coords="1519,1354,1572,1381"/><area shape="rect" id="node40" href="splay_8c.html#abe4300522e9cd5f9a0ee5b4aefee026c" title="tw_pq_compare_less_than" alt="" coords="1457,1253,1634,1280"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_icgraph.png" border="0" usemap="#tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_icgraph" alt=""/></div>
<map name="tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_icgraph" id="tw-sched_8c_a1586b72acaa34a4ef8cc6aadabe9711e_icgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="224,5,387,46"/><area shape="rect" id="node3" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="435,12,496,39"/><area shape="rect" id="node4" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="544,12,595,39"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abe0eb975865f0cde7f2c2e3129bd18d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void tw_sched_cancel_q </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>OPT: need to link events into canq in reverse order so that when we rollback the 1st event, we should not need to do any further rollbacks. </p>

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00074">74</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00260">tw_event::cancel_next</a>, <a class="el" href="ross-types_8h_source.html#l00269">tw_event::cancel_q</a>, <a class="el" href="ross-types_8h_source.html#l00380">tw_pe::cancel_q</a>, <a class="el" href="ross-types_8h_source.html#l00379">tw_pe::event_q</a>, <a class="el" href="ross-types_8h_source.html#l00268">tw_event::owner</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00146">tw_statistics::s_cancel_q</a>, <a class="el" href="ross-types_8h_source.html#l00143">tw_statistics::s_pq</a>, <a class="el" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">tw_event::state</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473">tw_event_free()</a>, <a class="el" href="tw-eventq_8h_source.html#l00384">tw_eventq_delete_any()</a>, <a class="el" href="ross-types_8h_source.html#l00216">TW_kp_pevent_q</a>, <a class="el" href="tw-kp_8c_source.html#l00067">tw_kp_rollback_event()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="ross-types_8h_source.html#l00217">TW_pe_anti_msg</a>, <a class="el" href="ross-types_8h_source.html#l00214">TW_pe_event_q</a>, <a class="el" href="ross-types_8h_source.html#l00222">TW_pe_free_q</a>, <a class="el" href="ross-types_8h_source.html#l00215">TW_pe_pq</a>, and <a class="el" href="splay_8c_source.html#l00288">tw_pq_delete_any()</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00634">tw_scheduler_optimistic()</a>, and <a class="el" href="tw-sched_8c_source.html#l00680">tw_scheduler_optimistic_realtime()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_cgraph.png" border="0" usemap="#tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_cgraph" alt=""/></div>
<map name="tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_cgraph" id="tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_cgraph">
<area shape="rect" id="node2" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="1483,1005,1589,1032"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1885,803,1955,829"/><area shape="rect" id="node5" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="1313,600,1417,627"/><area shape="rect" id="node6" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="965,485,1117,512"/><area shape="rect" id="node8" href="ross-extern_8h.html#a64819ac4aba17987e01bb13142e78c86" title="tw_kp_rollback_event" alt="" coords="193,1132,341,1159"/><area shape="rect" id="node45" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="790,1259,917,1285"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="2019,803,2117,829"/><area shape="rect" id="node7" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="1670,423,1794,449"/><area shape="rect" id="node9" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="390,1081,517,1108"/><area shape="rect" id="node37" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="1309,1259,1422,1285"/><area shape="rect" id="node49" href="tw-eventq_8h.html#aecf7d4bfd567e6356033b8379f5ec3bd" title="tw_eventq_shift" alt="" coords="396,524,511,551"/><area shape="rect" id="node10" href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6" title="buddy_free" alt="" coords="610,1335,697,1361"/><area shape="rect" id="node13" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="604,853,703,880"/><area shape="rect" id="node47" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="600,1005,707,1032"/><area shape="rect" id="node48" href="ross-extern_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e" title="tw_free_output_messages" alt="" coords="566,1056,741,1083"/><area shape="rect" id="node11" href="buddy_8c.html#a79eb8604ccdede86583f1faccec9dfb9" title="buddy_try_merge" alt="" coords="792,1335,915,1361"/><area shape="rect" id="node12" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="1696,1319,1768,1345"/><area shape="rect" id="node14" href="io-mpi_8c.html#a18038e8927326d19a30e302918ee9780" title="io_event_cancel" alt="" coords="795,536,911,563"/><area shape="rect" id="node16" href="tw-event_8c.html#adc74ca3ef069799b8f7bc8a0130a00aa" title="local_cancel" alt="" coords="806,853,901,880"/><area shape="rect" id="node17" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="1301,651,1429,677"/><area shape="rect" id="node18" href="network-mpi_8c.html#a7032d3d1b4b869e4f1669248c7cf6447" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="800,384,907,411"/><area shape="rect" id="node15" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="1307,397,1424,424"/><area shape="rect" id="node19" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="985,384,1098,411"/><area shape="rect" id="node44" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="977,308,1105,335"/><area shape="rect" id="node20" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="1167,549,1252,576"/><area shape="rect" id="node23" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="1167,803,1252,829"/><area shape="rect" id="node40" href="network-mpi_8c.html#a4e1e1bd17bf05f66af5628d37dd9af9d" title="If there are any openings in the posted_sends queue, start sends for events in the outgoing queue..." alt="" coords="1321,296,1409,323"/><area shape="rect" id="node42" href="network-mpi_8c.html#a08594cce713aee586b50774147ce63df" title="Determines how to handle the buffer of event whose send operation just finished. " alt="" coords="1165,397,1253,424"/><area shape="rect" id="node43" href="network-mpi_8c.html#a3a991bb1d1d24fbb8695947451f3f765" title="Calls MPI_Testsome on the provided queue, to check for finished operations. " alt="" coords="1180,245,1239,272"/><area shape="rect" id="node21" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198" title="tw_event_grab" alt="" coords="1312,448,1419,475"/><area shape="rect" id="node22" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df" title="tw_eventq_pop" alt="" coords="1481,448,1591,475"/><area shape="rect" id="node24" href="ross-kernel-inline_8h.html#a3e5591d29e9db9c6a1a1cc19ed55feec" title="tw_getlocal_lp" alt="" coords="1313,701,1418,728"/><area shape="rect" id="node25" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="1493,752,1579,779"/><area shape="rect" id="node26" href="hash-quadratic_8c.html#a4e8a48f209c2574ac4755605ac42f773" title="tw_hash_insert" alt="" coords="1310,904,1421,931"/><area shape="rect" id="node33" href="hash-quadratic_8c.html#af2da87c210aeb3433d50ee3bcb139e20" title="tw_hash_remove" alt="" coords="1305,853,1426,880"/><area shape="rect" id="node27" href="avl__tree_8c.html#a8bb2b5a6430ff1464d6065e5cd136a43" title="avlInsert" alt="" coords="1500,955,1572,981"/><area shape="rect" id="node28" href="avl__tree_8c.html#aa54b2f5f340b60161c61d5c169ee8784" title="avl_alloc" alt="" coords="1695,955,1769,981"/><area shape="rect" id="node29" href="avl__tree_8c.html#a50f7204680050d273c446d51007858bc" title="avlRebalance" alt="" coords="1869,1619,1971,1645"/><area shape="rect" id="node30" href="avl__tree_8c.html#a8a3b9d830a7e822d2246e76c8af213c6" title="avlFixHeight" alt="" coords="2166,1619,2261,1645"/><area shape="rect" id="node31" href="avl__tree_8c.html#ad240d5f5dbe910d958769e3778b7215a" title="avlGetHeight" alt="" coords="2309,1593,2408,1620"/><area shape="rect" id="node32" href="avl__tree_8c.html#afffb84bcced3f51c3a1c8932ae360983" title="avlRotate" alt="" coords="2029,1619,2107,1645"/><area shape="rect" id="node34" href="avl__tree_8c.html#a0bf2fa317ba41b17cf40a029d0121eae" title="avlDelete" alt="" coords="1497,1544,1575,1571"/><area shape="rect" id="node35" href="avl__tree_8c.html#acf331e186c8087aff88ee1f8348a3e25" title="avl_free" alt="" coords="1886,1556,1954,1583"/><area shape="rect" id="node36" href="avl__tree_8c.html#a6a4f850cb0ae353f688d2f9953a93d5f" title="avlDeleteMin" alt="" coords="1683,1619,1781,1645"/><area shape="rect" id="node38" href="splay_8c.html#a78410f728e5484187a8f69d74660e2e3" title="splay" alt="" coords="1509,1272,1563,1299"/><area shape="rect" id="node39" href="splay_8c.html#abe4300522e9cd5f9a0ee5b4aefee026c" title="tw_pq_compare_less_than" alt="" coords="1643,1259,1821,1285"/><area shape="rect" id="node41" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="1477,296,1595,323"/><area shape="rect" id="node46" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="985,1259,1098,1285"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_icgraph.png" border="0" usemap="#tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_icgraph" alt=""/></div>
<map name="tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_icgraph" id="tw-sched_8c_abe0eb975865f0cde7f2c2e3129bd18d7_icgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="192,5,355,32"/><area shape="rect" id="node5" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="192,57,355,98"/><area shape="rect" id="node3" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="403,35,464,61"/><area shape="rect" id="node4" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="512,35,563,61"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0bb0520414480154343b267735636433"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void tw_sched_event_q </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get all events out of my event queue and spin them out into the priority queue so they can be processed in time stamp order. </p>

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00021">21</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00269">tw_event::cancel_q</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-types_8h_source.html#l00379">tw_pe::event_q</a>, <a class="el" href="st-event-trace_8c_source.html#l00003">g_st_ev_trace</a>, <a class="el" href="ross-global_8c_source.html#l00098">g_tw_clock_rate</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00360">tw_kp::last_time</a>, <a class="el" href="ross-types_8h_source.html#l00251">tw_event::next</a>, <a class="el" href="ross-types_8h_source.html#l00268">tw_event::owner</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00252">tw_event::prev</a>, <a class="el" href="st-instrumentation_8h_source.html#l00174">RB_TRACE</a>, <a class="el" href="ross-types_8h_source.html#l00282">tw_event::recv_ts</a>, <a class="el" href="ross-types_8h_source.html#l00143">tw_statistics::s_pq</a>, <a class="el" href="ross-types_8h_source.html#l00144">tw_statistics::s_rollback</a>, <a class="el" href="ross-types_8h_source.html#l00166">tw_eventq::size</a>, <a class="el" href="st-event-trace_8c_source.html#l00009">st_collect_event_data()</a>, <a class="el" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">tw_event::state</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="tw-eventq_8h_source.html#l00412">tw_eventq_pop_list()</a>, <a class="el" href="tw-kp_8c_source.html#l00023">tw_kp_rollback_to()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="ross-types_8h_source.html#l00217">TW_pe_anti_msg</a>, <a class="el" href="ross-types_8h_source.html#l00214">TW_pe_event_q</a>, <a class="el" href="ross-types_8h_source.html#l00222">TW_pe_free_q</a>, <a class="el" href="splay_8c_source.html#l00195">tw_pq_enqueue()</a>, and <a class="el" href="ross_8h_source.html#l00154">TW_STIME_CMP</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00514">tw_scheduler_conservative()</a>, <a class="el" href="tw-sched_8c_source.html#l00634">tw_scheduler_optimistic()</a>, and <a class="el" href="tw-sched_8c_source.html#l00680">tw_scheduler_optimistic_realtime()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a0bb0520414480154343b267735636433_cgraph.png" border="0" usemap="#tw-sched_8c_a0bb0520414480154343b267735636433_cgraph" alt=""/></div>
<map name="tw-sched_8c_a0bb0520414480154343b267735636433_cgraph" id="tw-sched_8c_a0bb0520414480154343b267735636433_cgraph">
<area shape="rect" id="node2" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="368,56,517,83"/><area shape="rect" id="node5" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="1477,235,1584,261"/><area shape="rect" id="node7" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1880,841,1949,868"/><area shape="rect" id="node9" href="tw-eventq_8h.html#a15808ddde33bee012aeb05776a7da6b7" title="tw_eventq_pop_list" alt="" coords="185,633,319,660"/><area shape="rect" id="node10" href="ross-extern_8h.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="189,583,315,609"/><area shape="rect" id="node39" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="1303,1475,1417,1501"/><area shape="rect" id="node3" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5" title="st_buffer_push" alt="" coords="599,5,707,32"/><area shape="rect" id="node6" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="600,157,707,184"/><area shape="rect" id="node4" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="817,5,884,32"/><area shape="rect" id="node8" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="2014,841,2111,868"/><area shape="rect" id="node11" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="379,335,506,361"/><area shape="rect" id="node50" href="tw-eventq_8h.html#aecf7d4bfd567e6356033b8379f5ec3bd" title="tw_eventq_shift" alt="" coords="385,1076,500,1103"/><area shape="rect" id="node12" href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6" title="buddy_free" alt="" coords="610,360,697,387"/><area shape="rect" id="node15" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="604,892,703,919"/><area shape="rect" id="node49" href="ross-extern_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e" title="tw_free_output_messages" alt="" coords="566,309,741,336"/><area shape="rect" id="node13" href="buddy_8c.html#a79eb8604ccdede86583f1faccec9dfb9" title="buddy_try_merge" alt="" coords="789,309,912,336"/><area shape="rect" id="node14" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="1691,461,1763,488"/><area shape="rect" id="node16" href="io-mpi_8c.html#a18038e8927326d19a30e302918ee9780" title="io_event_cancel" alt="" coords="793,968,909,995"/><area shape="rect" id="node20" href="tw-event_8c.html#adc74ca3ef069799b8f7bc8a0130a00aa" title="local_cancel" alt="" coords="803,1019,898,1045"/><area shape="rect" id="node21" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="1308,816,1412,843"/><area shape="rect" id="node22" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="1296,664,1424,691"/><area shape="rect" id="node23" href="network-mpi_8c.html#a7032d3d1b4b869e4f1669248c7cf6447" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="797,892,904,919"/><area shape="rect" id="node47" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="1297,1399,1423,1425"/><area shape="rect" id="node17" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="960,993,1112,1020"/><area shape="rect" id="node19" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="1301,1120,1419,1147"/><area shape="rect" id="node18" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="1665,1145,1789,1172"/><area shape="rect" id="node24" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="979,892,1093,919"/><area shape="rect" id="node46" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="972,943,1100,969"/><area shape="rect" id="node25" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="1161,867,1247,893"/><area shape="rect" id="node28" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="1161,715,1247,741"/><area shape="rect" id="node42" href="network-mpi_8c.html#a4e1e1bd17bf05f66af5628d37dd9af9d" title="If there are any openings in the posted_sends queue, start sends for events in the outgoing queue..." alt="" coords="1316,1019,1404,1045"/><area shape="rect" id="node44" href="network-mpi_8c.html#a08594cce713aee586b50774147ce63df" title="Determines how to handle the buffer of event whose send operation just finished. " alt="" coords="1160,917,1248,944"/><area shape="rect" id="node45" href="network-mpi_8c.html#a3a991bb1d1d24fbb8695947451f3f765" title="Calls MPI_Testsome on the provided queue, to check for finished operations. " alt="" coords="1175,968,1233,995"/><area shape="rect" id="node26" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198" title="tw_event_grab" alt="" coords="1307,1069,1413,1096"/><area shape="rect" id="node27" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df" title="tw_eventq_pop" alt="" coords="1475,1069,1586,1096"/><area shape="rect" id="node29" href="ross-kernel-inline_8h.html#a3e5591d29e9db9c6a1a1cc19ed55feec" title="tw_getlocal_lp" alt="" coords="1307,715,1413,741"/><area shape="rect" id="node30" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="1488,664,1573,691"/><area shape="rect" id="node31" href="hash-quadratic_8c.html#a4e8a48f209c2574ac4755605ac42f773" title="tw_hash_insert" alt="" coords="1305,512,1415,539"/><area shape="rect" id="node35" href="hash-quadratic_8c.html#af2da87c210aeb3433d50ee3bcb139e20" title="tw_hash_remove" alt="" coords="1299,563,1421,589"/><area shape="rect" id="node32" href="avl__tree_8c.html#a8bb2b5a6430ff1464d6065e5cd136a43" title="avlInsert" alt="" coords="1495,512,1567,539"/><area shape="rect" id="node33" href="avl__tree_8c.html#aa54b2f5f340b60161c61d5c169ee8784" title="avl_alloc" alt="" coords="1690,613,1763,640"/><area shape="rect" id="node34" href="avl__tree_8c.html#a50f7204680050d273c446d51007858bc" title="avlRebalance" alt="" coords="1864,309,1965,336"/><area shape="rect" id="node36" href="avl__tree_8c.html#a0bf2fa317ba41b17cf40a029d0121eae" title="avlDelete" alt="" coords="1492,309,1569,336"/><area shape="rect" id="node37" href="avl__tree_8c.html#acf331e186c8087aff88ee1f8348a3e25" title="avl_free" alt="" coords="1881,221,1949,248"/><area shape="rect" id="node38" href="avl__tree_8c.html#a6a4f850cb0ae353f688d2f9953a93d5f" title="avlDeleteMin" alt="" coords="1677,259,1776,285"/><area shape="rect" id="node40" href="splay_8c.html#a78410f728e5484187a8f69d74660e2e3" title="splay" alt="" coords="1504,1475,1557,1501"/><area shape="rect" id="node41" href="splay_8c.html#abe4300522e9cd5f9a0ee5b4aefee026c" title="tw_pq_compare_less_than" alt="" coords="1638,1500,1815,1527"/><area shape="rect" id="node43" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="1472,1019,1589,1045"/><area shape="rect" id="node48" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="1474,1373,1587,1400"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a0bb0520414480154343b267735636433_icgraph.png" border="0" usemap="#tw-sched_8c_a0bb0520414480154343b267735636433_icgraph" alt=""/></div>
<map name="tw-sched_8c_a0bb0520414480154343b267735636433_icgraph" id="tw-sched_8c_a0bb0520414480154343b267735636433_icgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="185,5,365,32"/><area shape="rect" id="node5" href="tw-sched_8c.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="193,56,356,83"/><area shape="rect" id="node6" href="tw-sched_8c.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="193,107,356,149"/><area shape="rect" id="node3" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="413,56,475,83"/><area shape="rect" id="node4" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="523,56,573,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae7357a99fcf58867f153cb7ab920b400"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_sched_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00404">404</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00032">g_tw_sim_started</a>, <a class="el" href="io-mpi_8c_source.html#l00227">io_load_events()</a>, <a class="el" href="ross-types_8h_source.html#l00061">tw_petype::post_lp_init</a>, <a class="el" href="ross-types_8h_source.html#l00060">tw_petype::pre_lp_init</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8c_source.html#l00028">tw_clock_init()</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-kp_8c_source.html#l00131">tw_init_kps()</a>, <a class="el" href="tw-lp_8c_source.html#l00083">tw_init_lps()</a>, <a class="el" href="network-mpi_8c_source.html#l00175">tw_net_barrier()</a>, <a class="el" href="network-mpi_8c_source.html#l00572">tw_net_read()</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, <a class="el" href="tw-lp_8c_source.html#l00147">tw_pre_run_lps()</a>, and <a class="el" href="ross-types_8h_source.html#l00377">tw_pe::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_cgraph.png" border="0" usemap="#tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_cgraph" alt=""/></div>
<map name="tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_cgraph" id="tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_cgraph">
<area shape="rect" id="node2" href="io-mpi_8c.html#a2c72f26ee424fa3597838fd69de45cdb" title="io_load_events" alt="" coords="159,520,268,547"/><area shape="rect" id="node8" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="928,1229,1035,1256"/><area shape="rect" id="node19" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="939,1533,1024,1560"/><area shape="rect" id="node31" href="aarch64_8c.html#adb6ac59d7f33538cc7ebe7d9e47ec255" title="tw_clock_init" alt="" coords="164,1736,263,1763"/><area shape="rect" id="node32" href="ross-extern_8h.html#a4f628dcfcaa889cd15a8142af1b1260e" title="tw_init_kps" alt="" coords="331,1761,419,1788"/><area shape="rect" id="node39" href="ross-extern_8h.html#ac66e6455900b508bb4e4e0cef4df8061" title="tw_init_lps" alt="" coords="513,1432,597,1459"/><area shape="rect" id="node43" href="network-mpi_8c.html#ad2d1779a485bde77b7b62876a9ff6e25" title="tw_net_barrier" alt="" coords="323,13,427,40"/><area shape="rect" id="node44" href="network-mpi_8c.html#a27a1957e366f9b52848477702234fc08" title="starts service_queues() to poll network " alt="" coords="167,1091,260,1117"/><area shape="rect" id="node50" href="ross-extern_8h.html#aab34bd3abe37a02c5a785eba6161d498" title="tw_pre_run_lps" alt="" coords="158,368,269,395"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1336,812,1405,839"/><area shape="rect" id="node5" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="928,1331,1035,1357"/><area shape="rect" id="node6" href="ross-inline_8h.html#a6e55304c545600c2bb996fa70dd43f05" title="tw_event_new" alt="" coords="501,393,608,420"/><area shape="rect" id="node9" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df" title="tw_eventq_pop" alt="" coords="926,520,1037,547"/><area shape="rect" id="node11" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="923,571,1040,597"/><area shape="rect" id="node16" href="ross-extern_8h.html#ad057802273cd99b0e039da1ba15080ac" title="tw_event_send" alt="" coords="319,697,430,724"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1454,1109,1551,1136"/><area shape="rect" id="node7" href="io-mpi_8c.html#aab99abf1ad93e1d23dd803c207e104d9" title="io_event_grab" alt="" coords="714,520,817,547"/><area shape="rect" id="node12" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198" title="tw_event_grab" alt="" coords="712,469,819,496"/><area shape="rect" id="node13" href="ross-inline_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e" title="tw_free_output_messages" alt="" coords="678,216,853,243"/><area shape="rect" id="node15" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="732,368,799,395"/><area shape="rect" id="node10" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="1137,545,1261,572"/><area shape="rect" id="node14" href="ross-extern_8h.html#ad0bb29129002788f450029e65c38e9e0" title="tw_kp_put_back_output\l_buffer" alt="" coords="901,217,1061,258"/><area shape="rect" id="node17" href="tw-event_8c.html#a431afc0e2b850ff343a302bf418bdf64" title="link_causality" alt="" coords="504,723,605,749"/><area shape="rect" id="node18" href="ross-kernel-inline_8h.html#a3e5591d29e9db9c6a1a1cc19ed55feec" title="tw_getlocal_lp" alt="" coords="713,1584,818,1611"/><area shape="rect" id="node20" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="701,1027,829,1053"/><area shape="rect" id="node21" href="network-mpi_8c.html#ac1e0e20e3cba954c23932ed9a55d6dc6" title="Adds the event to the outgoing queue of events to be sent, polls for finished sends, and attempts to start sends from outq. " alt="" coords="507,672,603,699"/><area shape="rect" id="node28" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="709,875,822,901"/><area shape="rect" id="node22" href="network-mpi_8c.html#a4e1e1bd17bf05f66af5628d37dd9af9d" title="If there are any openings in the posted_sends queue, start sends for events in the outgoing queue..." alt="" coords="721,672,809,699"/><area shape="rect" id="node24" href="network-mpi_8c.html#a08594cce713aee586b50774147ce63df" title="Determines how to handle the buffer of event whose send operation just finished. " alt="" coords="721,824,809,851"/><area shape="rect" id="node26" href="network-mpi_8c.html#a3a991bb1d1d24fbb8695947451f3f765" title="Calls MPI_Testsome on the provided queue, to check for finished operations. " alt="" coords="736,723,795,749"/><area shape="rect" id="node27" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="917,444,1045,471"/><area shape="rect" id="node23" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="923,621,1040,648"/><area shape="rect" id="node25" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="929,925,1033,952"/><area shape="rect" id="node29" href="splay_8c.html#a78410f728e5484187a8f69d74660e2e3" title="splay" alt="" coords="955,824,1008,851"/><area shape="rect" id="node30" href="splay_8c.html#abe4300522e9cd5f9a0ee5b4aefee026c" title="tw_pq_compare_less_than" alt="" coords="1110,849,1287,876"/><area shape="rect" id="node33" href="tw-kp_8c.html#a0bf4c312e7e773f0e8dbeaa208c43315" title="init_output_messages" alt="" coords="480,1736,629,1763"/><area shape="rect" id="node34" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="727,1787,804,1813"/><area shape="rect" id="node38" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="1161,1837,1236,1864"/><area shape="rect" id="node35" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="941,1787,1021,1813"/><area shape="rect" id="node37" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="1336,1628,1405,1655"/><area shape="rect" id="node36" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="1156,1787,1241,1813"/><area shape="rect" id="node40" href="io-mpi_8c.html#ab5386defd555b1a62743c8b8589bf2b2" title="io_read_checkpoint" alt="" coords="698,1432,833,1459"/><area shape="rect" id="node41" href="io-serialize_8c.html#ad0792b7799ac27da02e522be00b25a62" title="io_event_deserialize" alt="" coords="1129,1229,1269,1256"/><area shape="rect" id="node42" href="io-serialize_8c.html#a388e9a535bb45b57911f64cab9b65394" title="io_lp_deserialize" alt="" coords="922,1381,1041,1408"/><area shape="rect" id="node45" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="318,951,431,977"/><area shape="rect" id="node46" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="512,976,597,1003"/><area shape="rect" id="node47" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="512,1179,597,1205"/><area shape="rect" id="node48" href="hash-quadratic_8c.html#a4e8a48f209c2574ac4755605ac42f773" title="tw_hash_insert" alt="" coords="710,1229,821,1256"/><area shape="rect" id="node49" href="hash-quadratic_8c.html#af2da87c210aeb3433d50ee3bcb139e20" title="tw_hash_remove" alt="" coords="705,1483,826,1509"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_icgraph.png" border="0" usemap="#tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_icgraph" alt=""/></div>
<map name="tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_icgraph" id="tw-sched_8c_ae7357a99fcf58867f153cb7ab920b400_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="157,5,219,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="267,5,317,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab3e02a0e976921bd18a11b8b6a00c110"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_scheduler_conservative </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00514">514</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="st-instrumentation_8h_source.html#l00235">ALL_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00399">tw_pe::cev_abort</a>, <a class="el" href="ross-types_8h_source.html#l00092">tw_lptype::commit</a>, <a class="el" href="ross-types_8h_source.html#l00278">tw_event::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00319">tw_lp::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00385">tw_pe::cur_event</a>, <a class="el" href="ross-types_8h_source.html#l00315">tw_lp::cur_state</a>, <a class="el" href="ross-types_8h_source.html#l00274">tw_event::cv</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-types_8h_source.html#l00413">tw_pe::end_time</a>, <a class="el" href="ross-types_8h_source.html#l00090">tw_lptype::event</a>, <a class="el" href="ross-types_8h_source.html#l00063">tw_petype::final</a>, <a class="el" href="ross-types_8h_source.html#l00383">tw_pe::free_q</a>, <a class="el" href="st-instrumentation_8h_source.html#l00173">FULL_TRACE</a>, <a class="el" href="st-instrumentation_8c_source.html#l00012">g_st_engine_stats</a>, <a class="el" href="st-event-trace_8c_source.html#l00003">g_st_ev_trace</a>, <a class="el" href="st-instrumentation_8c_source.html#l00011">g_st_model_stats</a>, <a class="el" href="st-instrumentation_8c_source.html#l00018">g_st_rt_interval</a>, <a class="el" href="st-instrumentation_8c_source.html#l00019">g_st_rt_samp_start_cycles</a>, <a class="el" href="st-instrumentation_8c_source.html#l00017">g_st_rt_sampling</a>, <a class="el" href="ross-global_8c_source.html#l00098">g_tw_clock_rate</a>, <a class="el" href="ross-global_8c_source.html#l00080">g_tw_gvt_threshold</a>, <a class="el" href="ross-global_8c_source.html#l00049">g_tw_lookahead</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00062">g_tw_mblock</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00068">g_tw_ts_end</a>, <a class="el" href="ross-types_8h_source.html#l00306">tw_lp::gid</a>, <a class="el" href="ross-types_8h_source.html#l00403">tw_pe::GVT</a>, <a class="el" href="ross-types_8h_source.html#l00376">tw_pe::id</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00366">tw_kp::kp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00360">tw_kp::last_time</a>, <a class="el" href="ross-types_8h_source.html#l00323">tw_lp::lp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00308">tw_lp::pe</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00282">tw_event::recv_ts</a>, <a class="el" href="tw-sched_8c_source.html#l00011">reset_bitfields()</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00005">ROSS_MAX</a>, <a class="el" href="st-instrumentation_8h_source.html#l00042">RT_COL</a>, <a class="el" href="st-instrumentation_8h_source.html#l00233">RT_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00142">tw_statistics::s_event_process</a>, <a class="el" href="ross-types_8h_source.html#l00136">tw_statistics::s_net_read</a>, <a class="el" href="st-instrumentation_8h_source.html#l00139">st_kp_stats::s_nevent_processed</a>, <a class="el" href="st-instrumentation_8h_source.html#l00155">st_lp_stats::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00361">tw_kp::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00130">tw_statistics::s_pe_event_ties</a>, <a class="el" href="ross-types_8h_source.html#l00143">tw_statistics::s_pq</a>, <a class="el" href="ross-types_8h_source.html#l00134">tw_statistics::s_total</a>, <a class="el" href="ross-types_8h_source.html#l00285">tw_event::send_lp</a>, <a class="el" href="ross-types_8h_source.html#l00284">tw_event::send_pe</a>, <a class="el" href="ross-types_8h_source.html#l00166">tw_eventq::size</a>, <a class="el" href="st-sim-engine_8c_source.html#l00010">st_collect_engine_data()</a>, <a class="el" href="st-event-trace_8c_source.html#l00009">st_collect_event_data()</a>, <a class="el" href="st-model-data_8c_source.html#l00045">st_collect_model_data()</a>, <a class="el" href="st-instrumentation_8c_source.html#l00105">st_inst_finalize()</a>, <a class="el" href="ross-types_8h_source.html#l00412">tw_pe::start_time</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data()</a>, <a class="el" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473">tw_event_free()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00039">tw_gvt_force_update()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00069">tw_gvt_step1()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00102">tw_gvt_step2()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="network-mpi_8c_source.html#l00175">tw_net_barrier()</a>, <a class="el" href="network-mpi_8c_source.html#l00572">tw_net_read()</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, <a class="el" href="splay_8c_source.html#l00245">tw_pq_dequeue()</a>, <a class="el" href="splay_8c_source.html#l00345">tw_pq_minimum()</a>, <a class="el" href="tw-sched_8c_source.html#l00021">tw_sched_event_q()</a>, <a class="el" href="tw-stats_8c_source.html#l00125">tw_stats()</a>, <a class="el" href="ross_8h_source.html#l00154">TW_STIME_CMP</a>, <a class="el" href="ross_8h_source.html#l00153">TW_STIME_DBL</a>, <a class="el" href="tw-timing_8c_source.html#l00004">tw_wall_now()</a>, <a class="el" href="ross-types_8h_source.html#l00316">tw_lp::type</a>, and <a class="el" href="ross-types_8h_source.html#l00377">tw_pe::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_cgraph.png" border="0" usemap="#tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_cgraph" alt=""/></div>
<map name="tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_cgraph" id="tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_cgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="255,5,358,32"/><area shape="rect" id="node3" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a" title="st_collect_engine_data" alt="" coords="427,613,581,640"/><area shape="rect" id="node7" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1067,740,1136,767"/><area shape="rect" id="node12" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="668,309,775,336"/><area shape="rect" id="node16" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="429,107,579,133"/><area shape="rect" id="node17" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="668,63,775,89"/><area shape="rect" id="node18" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="428,563,580,589"/><area shape="rect" id="node19" href="st-instrumentation_8c.html#a1dad744b7748e0ae7eee6b11577e744b" title="st_inst_finalize" alt="" coords="252,588,361,615"/><area shape="rect" id="node21" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="255,1323,359,1349"/><area shape="rect" id="node22" href="mpi__allreduce_8c.html#a483098cf3c7db0378e825db007a3a300" title="tw_gvt_force_update" alt="" coords="235,1373,378,1400"/><area shape="rect" id="node23" href="mpi__allreduce_8c.html#ab480140292034a18580653906c0663ed" title="tw_gvt_step1" alt="" coords="257,1221,357,1248"/><area shape="rect" id="node24" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="445,1221,563,1248"/><area shape="rect" id="node25" href="mpi__allreduce_8c.html#aef8c69bf46e491eb7fe51c088857d60f" title="tw_gvt_step2" alt="" coords="257,816,357,843"/><area shape="rect" id="node29" href="network-mpi_8c.html#a27a1957e366f9b52848477702234fc08" title="starts service_queues() to poll network " alt="" coords="457,968,551,995"/><area shape="rect" id="node32" href="network-mpi_8c.html#ad2d1779a485bde77b7b62876a9ff6e25" title="tw_net_barrier" alt="" coords="888,895,992,921"/><area shape="rect" id="node33" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="679,1592,764,1619"/><area shape="rect" id="node34" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="250,1424,363,1451"/><area shape="rect" id="node35" href="tw-sched_8c.html#a0bb0520414480154343b267735636433" title="tw_sched_event_q" alt="" coords="241,259,372,285"/><area shape="rect" id="node39" href="ross-extern_8h.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="468,1171,540,1197"/><area shape="rect" id="node50" href="ross-extern_8h.html#abb6fbfaf29e819dca59955bfda375992" title="tw_wall_now" alt="" coords="891,983,989,1009"/><area shape="rect" id="node4" href="st-sim-engine_8c.html#aebb8dd16b2092d90989648f900bab71c" title="st_collect_engine_data_kps" alt="" coords="630,512,813,539"/><area shape="rect" id="node9" href="st-sim-engine_8c.html#a6d73057505cdbfef1d533509b61ea653" title="st_collect_engine_data_lps" alt="" coords="632,563,811,589"/><area shape="rect" id="node10" href="st-sim-engine_8c.html#ae01976c1e08878010b9d085f2e196b03" title="st_collect_engine_data_pes" alt="" coords="630,411,813,437"/><area shape="rect" id="node13" href="ross-extern_8h.html#a51b6f7e6bcb3a2d739fe932e95554aeb" title="tw_get_stats" alt="" coords="673,715,770,741"/><area shape="rect" id="node14" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="903,715,977,741"/><area shape="rect" id="node15" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="686,867,757,893"/><area shape="rect" id="node5" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5" title="st_buffer_push" alt="" coords="886,461,994,488"/><area shape="rect" id="node6" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="1068,385,1135,412"/><area shape="rect" id="node8" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1185,740,1282,767"/><area shape="rect" id="node11" href="mpi__allreduce_8c.html#ab5b7bed8b49012ab92a14632cba26847" title="st_get_allreduce_count" alt="" coords="862,411,1018,437"/><area shape="rect" id="node20" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8" title="st_buffer_finalize" alt="" coords="443,461,565,488"/><area shape="rect" id="node26" href="mpi__allreduce_8h.html#a987cf58596f8cd786d561f50cf23d3d3" title="gvt_print" alt="" coords="468,765,540,792"/><area shape="rect" id="node27" href="st-instrumentation_8c.html#a5d4676b079764929c184583f36cf29e4" title="st_inst_dump" alt="" coords="454,816,554,843"/><area shape="rect" id="node28" href="network-mpi_8c.html#aad791cc8b066ed3cb37912b131b06b00" title="Obtain the lowest timestamp inside the network buffers. " alt="" coords="443,867,565,893"/><area shape="rect" id="node31" href="ross-extern_8h.html#a36f9f2e3925202eae4c7cb42f913280c" title="tw_pe_fossil_collect" alt="" coords="434,917,574,944"/><area shape="rect" id="node30" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="665,917,778,944"/><area shape="rect" id="node36" href="tw-eventq_8h.html#a15808ddde33bee012aeb05776a7da6b7" title="tw_eventq_pop_list" alt="" coords="437,208,571,235"/><area shape="rect" id="node37" href="ross-extern_8h.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="441,309,567,336"/><area shape="rect" id="node38" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="665,183,778,209"/><area shape="rect" id="node40" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07" title="show_1f" alt="" coords="686,1221,757,1248"/><area shape="rect" id="node41" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f" title="show_2f" alt="" coords="905,1276,975,1303"/><area shape="rect" id="node42" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15" title="show_4f" alt="" coords="686,1389,757,1416"/><area shape="rect" id="node43" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718" title="show_lld" alt="" coords="903,1436,977,1463"/><area shape="rect" id="node44" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599" title="st_print_analysis_LP\l_stats" alt="" coords="650,1323,793,1365"/><area shape="rect" id="node45" href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97" title="tw_calloc_stats" alt="" coords="665,1440,778,1467"/><area shape="rect" id="node46" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="673,1019,770,1045"/><area shape="rect" id="node47" href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254" title="tw_gvt_stats" alt="" coords="673,1491,770,1517"/><area shape="rect" id="node48" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="675,1171,768,1197"/><area shape="rect" id="node49" href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d" title="Function to output the statistics. " alt="" coords="879,1109,1001,1136"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_icgraph.png" border="0" usemap="#tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_icgraph" alt=""/></div>
<map name="tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_icgraph" id="tw-sched_8c_ab3e02a0e976921bd18a11b8b6a00c110_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="235,5,296,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="344,5,395,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1ebf9585a3de4d61c5fc050c7600fcd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_scheduler_optimistic </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00634">634</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00413">tw_pe::end_time</a>, <a class="el" href="ross-types_8h_source.html#l00063">tw_petype::final</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00068">g_tw_ts_end</a>, <a class="el" href="ross-types_8h_source.html#l00403">tw_pe::GVT</a>, <a class="el" href="ross-types_8h_source.html#l00136">tw_statistics::s_net_read</a>, <a class="el" href="ross-types_8h_source.html#l00134">tw_statistics::s_total</a>, <a class="el" href="st-instrumentation_8c_source.html#l00105">st_inst_finalize()</a>, <a class="el" href="ross-types_8h_source.html#l00412">tw_pe::start_time</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00069">tw_gvt_step1()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00102">tw_gvt_step2()</a>, <a class="el" href="network-mpi_8c_source.html#l00175">tw_net_barrier()</a>, <a class="el" href="network-mpi_8c_source.html#l00572">tw_net_read()</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, <a class="el" href="tw-sched_8c_source.html#l00139">tw_sched_batch()</a>, <a class="el" href="tw-sched_8c_source.html#l00074">tw_sched_cancel_q()</a>, <a class="el" href="tw-sched_8c_source.html#l00021">tw_sched_event_q()</a>, <a class="el" href="tw-stats_8c_source.html#l00125">tw_stats()</a>, <a class="el" href="ross_8h_source.html#l00153">TW_STIME_DBL</a>, <a class="el" href="tw-timing_8c_source.html#l00004">tw_wall_now()</a>, and <a class="el" href="ross-types_8h_source.html#l00377">tw_pe::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_cgraph.png" border="0" usemap="#tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_cgraph" alt=""/></div>
<map name="tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_cgraph" id="tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_cgraph">
<area shape="rect" id="node2" href="st-instrumentation_8c.html#a1dad744b7748e0ae7eee6b11577e744b" title="st_inst_finalize" alt="" coords="231,396,340,423"/><area shape="rect" id="node5" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="803,764,909,791"/><area shape="rect" id="node6" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="813,194,899,220"/><area shape="rect" id="node10" href="mpi__allreduce_8c.html#ab480140292034a18580653906c0663ed" title="tw_gvt_step1" alt="" coords="235,675,335,702"/><area shape="rect" id="node12" href="mpi__allreduce_8c.html#aef8c69bf46e491eb7fe51c088857d60f" title="tw_gvt_step2" alt="" coords="235,447,335,474"/><area shape="rect" id="node17" href="network-mpi_8c.html#a27a1957e366f9b52848477702234fc08" title="starts service_queues() to poll network " alt="" coords="433,118,527,144"/><area shape="rect" id="node20" href="network-mpi_8c.html#ad2d1779a485bde77b7b62876a9ff6e25" title="tw_net_barrier" alt="" coords="233,1854,337,1880"/><area shape="rect" id="node21" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="227,827,344,854"/><area shape="rect" id="node31" href="tw-sched_8c.html#abe0eb975865f0cde7f2c2e3129bd18d7" title="tw_sched_cancel_q" alt="" coords="217,1638,354,1664"/><area shape="rect" id="node36" href="tw-sched_8c.html#a0bb0520414480154343b267735636433" title="tw_sched_event_q" alt="" coords="220,1232,351,1259"/><area shape="rect" id="node39" href="ross-extern_8h.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="444,2094,516,2120"/><area shape="rect" id="node50" href="ross-extern_8h.html#abb6fbfaf29e819dca59955bfda375992" title="tw_wall_now" alt="" coords="237,1764,334,1791"/><area shape="rect" id="node3" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8" title="st_buffer_finalize" alt="" coords="419,168,541,195"/><area shape="rect" id="node7" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a" title="st_collect_engine_data" alt="" coords="403,523,557,550"/><area shape="rect" id="node4" href="st-stats-buffer_8c.html#aeeea74d1470f40aea408a03c56597f13" title="st_buffer_write" alt="" coords="626,194,734,220"/><area shape="rect" id="node8" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="645,1587,715,1614"/><area shape="rect" id="node9" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="821,1663,891,1690"/><area shape="rect" id="node11" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="421,574,539,600"/><area shape="rect" id="node13" href="mpi__allreduce_8h.html#a987cf58596f8cd786d561f50cf23d3d3" title="gvt_print" alt="" coords="444,422,516,448"/><area shape="rect" id="node14" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="404,624,556,651"/><area shape="rect" id="node15" href="st-instrumentation_8c.html#a5d4676b079764929c184583f36cf29e4" title="st_inst_dump" alt="" coords="430,219,530,246"/><area shape="rect" id="node16" href="network-mpi_8c.html#aad791cc8b066ed3cb37912b131b06b00" title="Obtain the lowest timestamp inside the network buffers. " alt="" coords="419,320,541,347"/><area shape="rect" id="node19" href="ross-extern_8h.html#a36f9f2e3925202eae4c7cb42f913280c" title="tw_pe_fossil_collect" alt="" coords="410,371,550,398"/><area shape="rect" id="node18" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="623,118,737,144"/><area shape="rect" id="node22" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="429,928,531,955"/><area shape="rect" id="node23" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="605,852,755,879"/><area shape="rect" id="node24" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="803,1131,909,1158"/><area shape="rect" id="node25" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="617,1232,743,1259"/><area shape="rect" id="node26" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="421,979,539,1006"/><area shape="rect" id="node27" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="416,1030,544,1056"/><area shape="rect" id="node28" href="mpi__allreduce_8c.html#a483098cf3c7db0378e825db007a3a300" title="tw_gvt_force_update" alt="" coords="409,878,551,904"/><area shape="rect" id="node29" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="623,1435,737,1462"/><area shape="rect" id="node30" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="623,1334,737,1360"/><area shape="rect" id="node32" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="428,1688,532,1715"/><area shape="rect" id="node33" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="404,1790,556,1816"/><area shape="rect" id="node34" href="ross-extern_8h.html#a64819ac4aba17987e01bb13142e78c86" title="tw_kp_rollback_event" alt="" coords="406,1486,554,1512"/><area shape="rect" id="node35" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="417,1638,543,1664"/><area shape="rect" id="node37" href="tw-eventq_8h.html#a15808ddde33bee012aeb05776a7da6b7" title="tw_eventq_pop_list" alt="" coords="413,1384,547,1411"/><area shape="rect" id="node38" href="ross-extern_8h.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="417,1232,543,1259"/><area shape="rect" id="node40" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07" title="show_1f" alt="" coords="645,1992,715,2019"/><area shape="rect" id="node41" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f" title="show_2f" alt="" coords="821,2174,891,2200"/><area shape="rect" id="node42" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15" title="show_4f" alt="" coords="645,2043,715,2070"/><area shape="rect" id="node43" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718" title="show_lld" alt="" coords="819,2279,893,2306"/><area shape="rect" id="node44" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599" title="st_print_analysis_LP\l_stats" alt="" coords="609,2196,751,2237"/><area shape="rect" id="node45" href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97" title="tw_calloc_stats" alt="" coords="623,2094,737,2120"/><area shape="rect" id="node46" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="631,2262,729,2288"/><area shape="rect" id="node47" href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254" title="tw_gvt_stats" alt="" coords="631,2312,729,2339"/><area shape="rect" id="node48" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="633,2414,727,2440"/><area shape="rect" id="node49" href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d" title="Function to output the statistics. " alt="" coords="619,1942,741,1968"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_icgraph.png" border="0" usemap="#tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_icgraph" alt=""/></div>
<map name="tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_icgraph" id="tw-sched_8c_a1ebf9585a3de4d61c5fc050c7600fcd8_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="216,5,277,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="325,5,376,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad49988d8dcde406fac7f4a2e11eac17f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_scheduler_optimistic_debug </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00733">733</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00278">tw_event::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00319">tw_lp::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00385">tw_pe::cur_event</a>, <a class="el" href="ross-types_8h_source.html#l00315">tw_lp::cur_state</a>, <a class="el" href="ross-types_8h_source.html#l00274">tw_event::cv</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-types_8h_source.html#l00413">tw_pe::end_time</a>, <a class="el" href="ross-types_8h_source.html#l00090">tw_lptype::event</a>, <a class="el" href="ross-types_8h_source.html#l00063">tw_petype::final</a>, <a class="el" href="ross-types_8h_source.html#l00383">tw_pe::free_q</a>, <a class="el" href="ross-global_8c_source.html#l00027">g_tw_kp</a>, <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="tw-sched_8c_source.html#l00731">g_tw_rollback_time</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00360">tw_kp::last_time</a>, <a class="el" href="ross-types_8h_source.html#l00268">tw_event::owner</a>, <a class="el" href="ross-types_8h_source.html#l00359">tw_kp::pevent_q</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00282">tw_event::recv_ts</a>, <a class="el" href="tw-sched_8c_source.html#l00011">reset_bitfields()</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00005">ROSS_MAX</a>, <a class="el" href="ross-types_8h_source.html#l00361">tw_kp::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00166">tw_eventq::size</a>, <a class="el" href="ross-types_8h_source.html#l00412">tw_pe::start_time</a>, <a class="el" href="structtw__event.html#aaccf9aa1154e261f109c6add9abb487b">tw_event::state</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data()</a>, <a class="el" href="tw-eventq_8h_source.html#l00320">tw_eventq_unshift()</a>, <a class="el" href="ross-types_8h_source.html#l00216">TW_kp_pevent_q</a>, <a class="el" href="tw-kp_8c_source.html#l00023">tw_kp_rollback_to()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, <a class="el" href="splay_8c_source.html#l00245">tw_pq_dequeue()</a>, <a class="el" href="tw-stats_8c_source.html#l00125">tw_stats()</a>, <a class="el" href="ross_8h_source.html#l00152">TW_STIME_CRT</a>, <a class="el" href="tw-timing_8c_source.html#l00004">tw_wall_now()</a>, <a class="el" href="ross-types_8h_source.html#l00316">tw_lp::type</a>, and <a class="el" href="ross-types_8h_source.html#l00377">tw_pe::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_cgraph.png" border="0" usemap="#tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_cgraph" alt=""/></div>
<map name="tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_cgraph" id="tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_cgraph">
<area shape="rect" id="node2" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="229,5,331,32"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="1723,563,1792,589"/><area shape="rect" id="node5" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="603,917,709,944"/><area shape="rect" id="node6" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="980,1019,1108,1045"/><area shape="rect" id="node8" href="ross-extern_8h.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="217,747,343,773"/><area shape="rect" id="node25" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="1333,1120,1419,1147"/><area shape="rect" id="node31" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="987,208,1101,235"/><area shape="rect" id="node34" href="ross-extern_8h.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="1176,1381,1248,1408"/><area shape="rect" id="node50" href="ross-extern_8h.html#abb6fbfaf29e819dca59955bfda375992" title="tw_wall_now" alt="" coords="407,56,505,83"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1841,563,1938,589"/><area shape="rect" id="node7" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="1523,968,1647,995"/><area shape="rect" id="node9" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="1323,791,1429,817"/><area shape="rect" id="node10" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="393,777,519,804"/><area shape="rect" id="node26" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="1319,360,1433,387"/><area shape="rect" id="node33" href="tw-eventq_8h.html#aecf7d4bfd567e6356033b8379f5ec3bd" title="tw_eventq_shift" alt="" coords="399,853,513,880"/><area shape="rect" id="node11" href="buddy_8c.html#a2d38d5280dce5d4f0b85410e00c293a6" title="buddy_free" alt="" coords="613,867,699,893"/><area shape="rect" id="node14" href="tw-event_8c.html#ace65c26a8d368f9b222d3d4416bff0af" title="event_cancel" alt="" coords="607,613,705,640"/><area shape="rect" id="node32" href="ross-extern_8h.html#a3490c6c78a69f802cbb1ec82c2f13f9e" title="tw_free_output_messages" alt="" coords="569,765,743,792"/><area shape="rect" id="node12" href="buddy_8c.html#a79eb8604ccdede86583f1faccec9dfb9" title="buddy_try_merge" alt="" coords="795,917,917,944"/><area shape="rect" id="node13" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="820,968,892,995"/><area shape="rect" id="node15" href="io-mpi_8c.html#a18038e8927326d19a30e302918ee9780" title="io_event_cancel" alt="" coords="798,867,914,893"/><area shape="rect" id="node18" href="tw-event_8c.html#adc74ca3ef069799b8f7bc8a0130a00aa" title="local_cancel" alt="" coords="809,411,903,437"/><area shape="rect" id="node19" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="1324,512,1428,539"/><area shape="rect" id="node20" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="1312,613,1440,640"/><area shape="rect" id="node21" href="network-mpi_8c.html#a7032d3d1b4b869e4f1669248c7cf6447" title="Cancel the given remote event by either removing from the outq or sending an antimessage, depending on the status of the original positive send. " alt="" coords="803,664,909,691"/><area shape="rect" id="node30" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="793,284,919,311"/><area shape="rect" id="node16" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="968,867,1120,893"/><area shape="rect" id="node17" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="1317,917,1435,944"/><area shape="rect" id="node22" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="987,664,1101,691"/><area shape="rect" id="node23" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="1169,563,1255,589"/><area shape="rect" id="node24" href="network-mpi_8c.html#a149ffcda6e9840d885bfe970374a9f49" title="Determines how to handle the newly received event. " alt="" coords="1169,715,1255,741"/><area shape="rect" id="node29" href="network-mpi_8c.html#a4e1e1bd17bf05f66af5628d37dd9af9d" title="If there are any openings in the posted_sends queue, start sends for events in the outgoing queue..." alt="" coords="1168,664,1256,691"/><area shape="rect" id="node27" href="splay_8c.html#a78410f728e5484187a8f69d74660e2e3" title="splay" alt="" coords="1559,309,1612,336"/><area shape="rect" id="node28" href="splay_8c.html#abe4300522e9cd5f9a0ee5b4aefee026c" title="tw_pq_compare_less_than" alt="" coords="1497,360,1674,387"/><area shape="rect" id="node35" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07" title="show_1f" alt="" coords="1341,1491,1411,1517"/><area shape="rect" id="node36" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f" title="show_2f" alt="" coords="1550,1377,1621,1404"/><area shape="rect" id="node37" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15" title="show_4f" alt="" coords="1341,1541,1411,1568"/><area shape="rect" id="node38" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718" title="show_lld" alt="" coords="1549,1436,1622,1463"/><area shape="rect" id="node39" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599" title="st_print_analysis_LP\l_stats" alt="" coords="1305,1374,1447,1415"/><area shape="rect" id="node40" href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97" title="tw_calloc_stats" alt="" coords="1319,1592,1433,1619"/><area shape="rect" id="node41" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="1327,1272,1425,1299"/><area shape="rect" id="node46" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="1550,1025,1621,1052"/><area shape="rect" id="node47" href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254" title="tw_gvt_stats" alt="" coords="1327,1643,1425,1669"/><area shape="rect" id="node48" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="1329,1693,1423,1720"/><area shape="rect" id="node49" href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d" title="Function to output the statistics. " alt="" coords="1525,1083,1646,1109"/><area shape="rect" id="node42" href="ross-extern_8h.html#a47c205fb13e816aa4a0252ab2e7cd094" title="tw_wall_sub" alt="" coords="1538,1221,1633,1248"/><area shape="rect" id="node43" href="ross-extern_8h.html#ae0f8e95d53bcbe6803081588d3058146" title="tw_wall_to_double" alt="" coords="1521,1272,1650,1299"/><area shape="rect" id="node44" href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7" title="tw_pq_get_size" alt="" coords="1529,1323,1642,1349"/><area shape="rect" id="node45" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="1548,1159,1623,1185"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_icgraph.png" border="0" usemap="#tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_icgraph" alt=""/></div>
<map name="tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_icgraph" id="tw-sched_8c_ad49988d8dcde406fac7f4a2e11eac17f_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="216,12,277,39"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="325,12,376,39"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="accfa49d85bd68f2c53d4a08cf64ace88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_scheduler_optimistic_realtime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00680">680</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00413">tw_pe::end_time</a>, <a class="el" href="ross-types_8h_source.html#l00063">tw_petype::final</a>, <a class="el" href="ross-global_8c_source.html#l00098">g_tw_clock_rate</a>, <a class="el" href="ross-global_8c_source.html#l00063">g_tw_gvt_interval</a>, <a class="el" href="ross-global_8c_source.html#l00066">g_tw_gvt_interval_start_cycles</a>, <a class="el" href="ross-global_8c_source.html#l00065">g_tw_gvt_realtime_interval</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00068">g_tw_ts_end</a>, <a class="el" href="ross-types_8h_source.html#l00403">tw_pe::GVT</a>, <a class="el" href="ross-types_8h_source.html#l00136">tw_statistics::s_net_read</a>, <a class="el" href="ross-types_8h_source.html#l00134">tw_statistics::s_total</a>, <a class="el" href="st-instrumentation_8c_source.html#l00105">st_inst_finalize()</a>, <a class="el" href="ross-types_8h_source.html#l00412">tw_pe::start_time</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00079">tw_gvt_step1_realtime()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00102">tw_gvt_step2()</a>, <a class="el" href="network-mpi_8c_source.html#l00175">tw_net_barrier()</a>, <a class="el" href="network-mpi_8c_source.html#l00572">tw_net_read()</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, <a class="el" href="tw-sched_8c_source.html#l00273">tw_sched_batch_realtime()</a>, <a class="el" href="tw-sched_8c_source.html#l00074">tw_sched_cancel_q()</a>, <a class="el" href="tw-sched_8c_source.html#l00021">tw_sched_event_q()</a>, <a class="el" href="tw-stats_8c_source.html#l00125">tw_stats()</a>, <a class="el" href="ross_8h_source.html#l00153">TW_STIME_DBL</a>, <a class="el" href="tw-timing_8c_source.html#l00004">tw_wall_now()</a>, and <a class="el" href="ross-types_8h_source.html#l00377">tw_pe::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_cgraph.png" border="0" usemap="#tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_cgraph" alt=""/></div>
<map name="tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_cgraph" id="tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_cgraph">
<area shape="rect" id="node2" href="st-instrumentation_8c.html#a1dad744b7748e0ae7eee6b11577e744b" title="st_inst_finalize" alt="" coords="247,553,356,579"/><area shape="rect" id="node5" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="835,705,941,731"/><area shape="rect" id="node6" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="845,350,931,377"/><area shape="rect" id="node10" href="mpi__allreduce_8c.html#a7e182a4c303c555479ee1e4143d57784" title="tw_gvt_step1_realtime" alt="" coords="225,654,378,681"/><area shape="rect" id="node12" href="mpi__allreduce_8c.html#aef8c69bf46e491eb7fe51c088857d60f" title="tw_gvt_step2" alt="" coords="251,401,351,427"/><area shape="rect" id="node17" href="network-mpi_8c.html#a27a1957e366f9b52848477702234fc08" title="starts service_queues() to poll network " alt="" coords="465,46,559,73"/><area shape="rect" id="node20" href="network-mpi_8c.html#ad2d1779a485bde77b7b62876a9ff6e25" title="tw_net_barrier" alt="" coords="249,1899,353,1926"/><area shape="rect" id="node21" href="tw-sched_8c.html#a1586b72acaa34a4ef8cc6aadabe9711e" title="tw_sched_batch_realtime" alt="" coords="216,873,387,899"/><area shape="rect" id="node31" href="tw-sched_8c.html#abe0eb975865f0cde7f2c2e3129bd18d7" title="tw_sched_cancel_q" alt="" coords="233,1683,370,1710"/><area shape="rect" id="node36" href="tw-sched_8c.html#a0bb0520414480154343b267735636433" title="tw_sched_event_q" alt="" coords="236,1278,367,1305"/><area shape="rect" id="node39" href="ross-extern_8h.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="476,2139,548,2166"/><area shape="rect" id="node50" href="ross-extern_8h.html#abb6fbfaf29e819dca59955bfda375992" title="tw_wall_now" alt="" coords="253,1810,350,1837"/><area shape="rect" id="node3" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8" title="st_buffer_finalize" alt="" coords="451,350,573,377"/><area shape="rect" id="node7" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a" title="st_collect_engine_data" alt="" coords="435,553,589,579"/><area shape="rect" id="node4" href="st-stats-buffer_8c.html#aeeea74d1470f40aea408a03c56597f13" title="st_buffer_write" alt="" coords="658,350,766,377"/><area shape="rect" id="node8" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="677,1531,747,1558"/><area shape="rect" id="node9" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="853,1683,923,1710"/><area shape="rect" id="node11" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="453,654,571,681"/><area shape="rect" id="node13" href="mpi__allreduce_8h.html#a987cf58596f8cd786d561f50cf23d3d3" title="gvt_print" alt="" coords="476,299,548,326"/><area shape="rect" id="node14" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="436,502,588,529"/><area shape="rect" id="node15" href="st-instrumentation_8c.html#a5d4676b079764929c184583f36cf29e4" title="st_inst_dump" alt="" coords="462,147,562,174"/><area shape="rect" id="node16" href="network-mpi_8c.html#aad791cc8b066ed3cb37912b131b06b00" title="Obtain the lowest timestamp inside the network buffers. " alt="" coords="451,198,573,225"/><area shape="rect" id="node19" href="ross-extern_8h.html#a36f9f2e3925202eae4c7cb42f913280c" title="tw_pe_fossil_collect" alt="" coords="442,249,582,275"/><area shape="rect" id="node18" href="network-mpi_8c.html#a8705ab243733bb856d58534e0e853da3" title="Start checks for finished operations in send/recv queues, and post new sends/recvs if possible..." alt="" coords="655,46,769,73"/><area shape="rect" id="node22" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="461,974,563,1001"/><area shape="rect" id="node23" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="637,923,787,950"/><area shape="rect" id="node24" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="835,1126,941,1153"/><area shape="rect" id="node25" href="ross-extern_8h.html#ad90c1310a5aeee6d9bff67237f3e9913" title="tw_event_rollback" alt="" coords="649,1227,775,1254"/><area shape="rect" id="node26" href="tw-eventq_8h.html#ab24e28ddbfec88a67c6c4be13be13d60" title="tw_eventq_peek" alt="" coords="453,1025,571,1051"/><area shape="rect" id="node27" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="448,1075,576,1102"/><area shape="rect" id="node28" href="mpi__allreduce_8c.html#a805cc76b3ba7583d9bb9186afc73e2ba" title="tw_gvt_force_update\l_realtime" alt="" coords="441,756,583,797"/><area shape="rect" id="node29" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="655,1278,769,1305"/><area shape="rect" id="node30" href="splay_8c.html#a60a6784c1d092ff7ddf96cf6762d7b9e" title="tw_pq_enqueue" alt="" coords="655,1329,769,1355"/><area shape="rect" id="node32" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="460,1785,564,1811"/><area shape="rect" id="node33" href="tw-eventq_8h.html#a5023008188f7e7e35ce1c77caeb0d17a" title="tw_eventq_delete_any" alt="" coords="436,1835,588,1862"/><area shape="rect" id="node34" href="ross-extern_8h.html#a64819ac4aba17987e01bb13142e78c86" title="tw_kp_rollback_event" alt="" coords="438,1531,586,1558"/><area shape="rect" id="node35" href="splay_8c.html#a94afee48f89c610daf86df689b10712e" title="tw_pq_delete_any" alt="" coords="449,1633,575,1659"/><area shape="rect" id="node37" href="tw-eventq_8h.html#a15808ddde33bee012aeb05776a7da6b7" title="tw_eventq_pop_list" alt="" coords="445,1481,579,1507"/><area shape="rect" id="node38" href="ross-extern_8h.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="449,1278,575,1305"/><area shape="rect" id="node40" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07" title="show_1f" alt="" coords="677,2241,747,2267"/><area shape="rect" id="node41" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f" title="show_2f" alt="" coords="853,2374,923,2401"/><area shape="rect" id="node42" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15" title="show_4f" alt="" coords="677,2342,747,2369"/><area shape="rect" id="node43" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718" title="show_lld" alt="" coords="851,2429,925,2455"/><area shape="rect" id="node44" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599" title="st_print_analysis_LP\l_stats" alt="" coords="641,2393,783,2435"/><area shape="rect" id="node45" href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97" title="tw_calloc_stats" alt="" coords="655,2038,769,2065"/><area shape="rect" id="node46" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="663,2089,761,2115"/><area shape="rect" id="node47" href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254" title="tw_gvt_stats" alt="" coords="663,2139,761,2166"/><area shape="rect" id="node48" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="665,2190,759,2217"/><area shape="rect" id="node49" href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d" title="Function to output the statistics. " alt="" coords="651,1987,773,2014"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_icgraph.png" border="0" usemap="#tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_icgraph" alt=""/></div>
<map name="tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_icgraph" id="tw-sched_8c_accfa49d85bd68f2c53d4a08cf64ace88_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="216,12,277,39"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="325,12,376,39"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae19668282cb4aab245e2382eea8f1967"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_scheduler_sequential </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>me</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00445">445</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>References <a class="el" href="st-instrumentation_8h_source.html#l00235">ALL_STATS</a>, <a class="el" href="ross-types_8h_source.html#l00399">tw_pe::cev_abort</a>, <a class="el" href="ross-types_8h_source.html#l00092">tw_lptype::commit</a>, <a class="el" href="ross-types_8h_source.html#l00278">tw_event::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00319">tw_lp::critical_path</a>, <a class="el" href="ross-types_8h_source.html#l00385">tw_pe::cur_event</a>, <a class="el" href="ross-types_8h_source.html#l00315">tw_lp::cur_state</a>, <a class="el" href="ross-types_8h_source.html#l00274">tw_event::cv</a>, <a class="el" href="ross-types_8h_source.html#l00280">tw_event::dest_lp</a>, <a class="el" href="ross-types_8h_source.html#l00413">tw_pe::end_time</a>, <a class="el" href="ross-types_8h_source.html#l00090">tw_lptype::event</a>, <a class="el" href="ross-types_8h_source.html#l00063">tw_petype::final</a>, <a class="el" href="st-instrumentation_8h_source.html#l00173">FULL_TRACE</a>, <a class="el" href="st-event-trace_8c_source.html#l00003">g_st_ev_trace</a>, <a class="el" href="st-instrumentation_8c_source.html#l00011">g_st_model_stats</a>, <a class="el" href="st-instrumentation_8c_source.html#l00018">g_st_rt_interval</a>, <a class="el" href="st-instrumentation_8c_source.html#l00019">g_st_rt_samp_start_cycles</a>, <a class="el" href="st-instrumentation_8c_source.html#l00017">g_st_rt_sampling</a>, <a class="el" href="ross-global_8c_source.html#l00098">g_tw_clock_rate</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00068">g_tw_ts_end</a>, <a class="el" href="mpi__allreduce_8h_source.html#l00014">gvt_print()</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00366">tw_kp::kp_stats</a>, <a class="el" href="ross-types_8h_source.html#l00360">tw_kp::last_time</a>, <a class="el" href="ross-types_8h_source.html#l00323">tw_lp::lp_stats</a>, <a class="el" href="mpi__allreduce_8h_source.html#l00005">percent_complete</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00282">tw_event::recv_ts</a>, <a class="el" href="tw-sched_8c_source.html#l00011">reset_bitfields()</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00005">ROSS_MAX</a>, <a class="el" href="st-instrumentation_8h_source.html#l00233">RT_STATS</a>, <a class="el" href="st-instrumentation_8h_source.html#l00139">st_kp_stats::s_nevent_processed</a>, <a class="el" href="st-instrumentation_8h_source.html#l00155">st_lp_stats::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00361">tw_kp::s_nevent_processed</a>, <a class="el" href="ross-types_8h_source.html#l00130">tw_statistics::s_pe_event_ties</a>, <a class="el" href="ross-types_8h_source.html#l00134">tw_statistics::s_total</a>, <a class="el" href="st-event-trace_8c_source.html#l00009">st_collect_event_data()</a>, <a class="el" href="st-model-data_8c_source.html#l00045">st_collect_model_data()</a>, <a class="el" href="ross-types_8h_source.html#l00412">tw_pe::start_time</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8">tw_event_data()</a>, <a class="el" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473">tw_event_free()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, <a class="el" href="splay_8c_source.html#l00245">tw_pq_dequeue()</a>, <a class="el" href="splay_8c_source.html#l00345">tw_pq_minimum()</a>, <a class="el" href="tw-stats_8c_source.html#l00125">tw_stats()</a>, <a class="el" href="ross_8h_source.html#l00154">TW_STIME_CMP</a>, <a class="el" href="ross_8h_source.html#l00152">TW_STIME_CRT</a>, <a class="el" href="ross_8h_source.html#l00153">TW_STIME_DBL</a>, <a class="el" href="tw-timing_8c_source.html#l00004">tw_wall_now()</a>, <a class="el" href="ross-types_8h_source.html#l00316">tw_lp::type</a>, and <a class="el" href="ross-types_8h_source.html#l00377">tw_pe::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_cgraph.png" border="0" usemap="#tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_cgraph" alt=""/></div>
<map name="tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_cgraph" id="tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_cgraph">
<area shape="rect" id="node2" href="mpi__allreduce_8h.html#a987cf58596f8cd786d561f50cf23d3d3" title="gvt_print" alt="" coords="259,5,331,32"/><area shape="rect" id="node4" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="243,56,346,83"/><area shape="rect" id="node5" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="220,208,369,235"/><area shape="rect" id="node8" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="437,157,544,184"/><area shape="rect" id="node9" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="437,208,544,235"/><area shape="rect" id="node10" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="219,107,371,133"/><area shape="rect" id="node11" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="789,760,859,787"/><area shape="rect" id="node13" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="243,832,347,859"/><area shape="rect" id="node14" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="448,309,533,336"/><area shape="rect" id="node15" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="238,883,351,909"/><area shape="rect" id="node16" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="236,933,353,960"/><area shape="rect" id="node17" href="ross-extern_8h.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="259,579,331,605"/><area shape="rect" id="node33" href="ross-extern_8h.html#abb6fbfaf29e819dca59955bfda375992" title="tw_wall_now" alt="" coords="246,309,343,336"/><area shape="rect" id="node3" href="splay_8c.html#a1f13e8f630ca68c8cbbd1bfec7f5870c" title="tw_pq_max_size" alt="" coords="431,5,551,32"/><area shape="rect" id="node6" href="st-instrumentation_8h.html#a726b5dd5323e5d253e35d7fff164e6a5" title="st_buffer_push" alt="" coords="437,107,545,133"/><area shape="rect" id="node7" href="ross-kernel-inline_8h.html#a543cb527662432d81f65c327e5e5f1b0" title="tw_now" alt="" coords="643,81,709,108"/><area shape="rect" id="node12" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="907,760,1005,787"/><area shape="rect" id="node18" href="tw-stats_8c.html#a6b69bed4fb0f6988ac343b34447c6b07" title="show_1f" alt="" coords="455,680,526,707"/><area shape="rect" id="node19" href="tw-stats_8c.html#a833fd4a6c61467eb69ced0082061703f" title="show_2f" alt="" coords="641,535,711,561"/><area shape="rect" id="node20" href="tw-stats_8c.html#acf18fda42c51c1b9f24fc963c1ed0a15" title="show_4f" alt="" coords="455,832,526,859"/><area shape="rect" id="node21" href="tw-stats_8c.html#a8ee84a05b778d1e84ff6c36216fb7718" title="show_lld" alt="" coords="639,455,713,481"/><area shape="rect" id="node22" href="tw-stats_8c.html#afb1f91d93907442626a68794ebb44599" title="st_print_analysis_LP\l_stats" alt="" coords="419,462,562,503"/><area shape="rect" id="node23" href="ross-extern_8h.html#aad9cd95e0d933f14b3c1a4b7c81e0f97" title="tw_calloc_stats" alt="" coords="434,883,547,909"/><area shape="rect" id="node24" href="tw-stats_8c.html#aae84db287c9d98fc4aae257388490aec" title="tw_get_stats" alt="" coords="442,731,539,757"/><area shape="rect" id="node29" href="ross-kernel-inline_8h.html#a01d028965db8257815ad2ed053a0e40a" title="tw_getlp" alt="" coords="641,389,711,416"/><area shape="rect" id="node30" href="mpi__allreduce_8c.html#a14d128d340e53baff763e91125748254" title="tw_gvt_stats" alt="" coords="442,528,539,555"/><area shape="rect" id="node31" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="444,579,537,605"/><area shape="rect" id="node32" href="network-mpi_8c.html#abbcd0d5ea79ad57229162f703309142d" title="Function to output the statistics. " alt="" coords="615,811,737,837"/><area shape="rect" id="node25" href="ross-extern_8h.html#a47c205fb13e816aa4a0252ab2e7cd094" title="tw_wall_sub" alt="" coords="629,608,723,635"/><area shape="rect" id="node26" href="ross-extern_8h.html#ae0f8e95d53bcbe6803081588d3058146" title="tw_wall_to_double" alt="" coords="611,659,741,685"/><area shape="rect" id="node27" href="splay_8c.html#addf3f3d612922ac6c07304ddb4895ab7" title="tw_pq_get_size" alt="" coords="619,709,733,736"/><area shape="rect" id="node28" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="639,760,713,787"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_icgraph.png" border="0" usemap="#tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_icgraph" alt=""/></div>
<map name="tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_icgraph" id="tw-sched_8c_ae19668282cb4aab245e2382eea8f1967_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="219,5,280,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="328,5,379,32"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a5c11d3a2f7e286ede48944061694ba42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double g_tw_rollback_time = 0.000000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-sched_8c_source.html#l00731">731</a> of file <a class="el" href="tw-sched_8c_source.html">tw-sched.c</a>.</p>

<p>Referenced by <a class="el" href="tw-sched_8c_source.html#l00733">tw_scheduler_optimistic_debug()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
